package com.itheima.stock.api;

import com.itheima.stock.entity.StockBusiness;
import com.itheima.stock.response.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping(path="/api/quot")
public interface StockControllerApi {
    @GetMapping(path="/stock/business/all")

   ResponseResult<List<StockBusiness>>getStockBusiness();
}